<template>
  <div>
    <div class="father" @click="open">
      父亲
      <div class="son" @click="stop">儿子</div>
    </div>
  </div>
</template>

<script>
   export default {
    methods:{
      open(){
        alert('你妈的')
      }
    }
   }
</script>

<style lang="less">
.father{
  width: 300px;
  height: 300px;
  background-color: aquamarine;

.son{
  width: 150px;
  height: 150px;
  background-color: brown;
  
}
}
</style>

